package com.weixing.mall.provider.model.vo.cms;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IsEnableEnum;
import com.weixing.mall.provider.model.enums.cms.BannerLocEunm;
import com.weixing.mall.provider.model.enums.cms.BannerTypeEunm;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName BannerVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/7/26
 * @Version 1.0
 **/
@Data
public class BannerVo {

    private Long id;
    private String bannerName;
    private String bannerUrl;
    private String bannerImg;
    private BannerLocEunm bannerLoc;
    private BannerTypeEunm bannerType;
    private IsEnableEnum isEnable;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
}
